package com.avic.rong.fragment.showapi;

import com.avic.rong.api.HttpPostService;
import com.example.minato.minastore.BaseApi;
import com.example.minato.minastore.listener.HttpOnNextListener;
import com.trello.rxlifecycle2.components.support.RxAppCompatActivity;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.Retrofit;

/**
 * Created by XinEr on 2019/8/14.
 * Describe:
 */
public class PingCommentApi extends BaseApi {
    private int a;
    private String b;
    private String c;


    public PingCommentApi(RxAppCompatActivity rxAppCompatActivity, HttpOnNextListener listener ,int a,String b,String c) {
        super(rxAppCompatActivity, listener);
        this.a=a;
        this.b=b;
        this.c=c;
    }

    @Override
    public Observable getObservable(Retrofit retrofit) {
        HttpPostService service = retrofit.create(HttpPostService.class);
        return service.getArticle(a,b,c);
    }

}
